[mirrors]
ftp://ftp.kernel.org/pub/linux/utils/kernel/kmod/kmod-15.tar.xz

[main]
filesize=1453996
sha512=67a03cabe9d81c14eb0bef20f3c8ff4614418cb2b2c3e1428d8a57399372ecdce6e403399a578d2f62a1ae4b61c83713edd1ad1e31533ea35503c5b11b92c223

[deps]

[build]

for i in kmod kmod-test-stdout kmod-test-glibc-assumption kmod-static-assert ; do
	patch -p1 < "$K"/"$i".patch || exit 1
done

CFLAGS="-D_GNU_SOURCE $optcflags" LDFLAGS="$optldflags" \
  ./configure -C --prefix="$butch_prefix" || exit 1

make -j$MAKE_THREADS || exit 1
make DESTDIR="$butch_install_dir" install || exit 1
